GetLinkStatus
TheGetLinkStatus
method returns the link status of this frame.
ODLinkStatus GetLinkStatus ();
- return value
- The link status of this frame. The return value is one of the following:
kODInLinkDestination
,kODInLinkSource
, orkODNotInLink
.DISCUSSION
The valuekODInLinkDestination
for thestatus
parameter indicates that the frame is embedded in the destination of a link; the content of this frame is thus supplied by a link. The valuekODInLinkSource
indicates that the frame is embedded in content that is the source of one or more links, but not in content that is the destination of a link. The valuekODNotInLink
indicates that the frame is not embedded in any linked content, source or destination.Your part calls its display frame's
GetLinkStatus
method to determine if it should allow links to be created to or from the content displayed by this frame. For example, if the link status value iskODInLinkDestination
, a link should not be created within this frame.SEE ALSO
TheODFrame::ChangeLinkStatus
method (page 308).
"When to Change Link Status" on page 374 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help